package cn.JHai.rbac.query;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class QueryObject {
    //当前页面
    private long currentPage=1l;
    //页面大小
    private long pageSize=3l;

    // 页面的内容
    private List list;

    //字典id
    private Long parent_id;

    // 查询关键字
    private String keyword = null;

    public Long getStart(){
        return (this.currentPage-1)*pageSize;
    }


}
